{% extends "./layout.html" %}

{% block css %}
<link rel="stylesheet" href="/static/css/register.css" />
{% endblock %}

{% block content %}
<div class="container">
    <h3>新增商品</h3>
    <br />
    <div class="form-group">
        <input class="form-control" type="text" id="goodsname" name="name" placeholder="商品名称" />
    </div>
    <div class="form-group">
        <input class="form-control" type="number" id="goodsprice" name="price" placeholder="商品价格" />
    </div>
    <div class="form-group">
        <textarea class="form-control" type="text" name="des" id="goodsdes" placeholder="商品描述"></textarea>
    </div>
    <form class="form-group" id="from-thrum" enctype="multipart/form-data">
        <span class="btn btn-success btn-block fileinput-button">
            <span>&nbsp;上&nbsp;传&nbsp;缩&nbsp;略&nbsp;图&nbsp;</span>
            <input name="imgs" multiple="multiple" type="file" />
        </span>
        <img width="100" height="100" class="imgthume" src="http://placehold.it/100" />
        <img width="100" height="100" class="imgthume" src="http://placehold.it/100" />
        <img width="100" height="100" class="imgthume" src="http://placehold.it/100" />
        <img width="100" height="100" class="imgthume" src="http://placehold.it/100" />
        <img width="100" height="100" class="imgthume" src="http://placehold.it/100" />
    </form>
    <div class="form-group">
        <input class="btn btn-success btn-block" id="form-button" value="新增" type="button" />
    </div>
</div>
{% endblock %}

{% block js %}
<script src="/static/js/addgoods.js"></script>
{% endblock %}